package cn.zyl.demo.undertow.runner;

import org.springframework.boot.CommandLineRunner;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Component;

/**
 * UndertowStartRunner类说明: 项目启动后执行的功能(执行顺序-1)
 *
 * @author z.y.l
 * @version v1.0
 * @date 2020-09-02
 */
@Component
@Order(1)
public class UndertowStartRunner implements CommandLineRunner {
    /** 用于运行bean的回调 */
    @Override
    public void run(String... args) throws Exception {
        System.out.println(">>>>>>>>>>>>>>>服务启动执行操作-1<<<<<<<<<<<<<");
    }
}
